home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 37
/
Aminet 37 (2000)(Schatztruhe)[!][Jun 2000].iso
/
Aminet
/
util
/
moni
/
SnoopDos32_src.readme
< prev
next >
Wrap
Text File
|
2000-05-02
|
7KB
|
164 lines
Short: SnoopDos 3.2 sources for SAS/C
Author: ecarroll@maths.tcd.ie (Eddy Carroll) et al.
Uploader: thor@math.tu-berlin.de (Thomas Richter)
Type: util/moni
_____________________________________________________________________________
SnoopDos 3.0 -- Source Code Release
Copyright © Eddy Carroll, September 1994. Freely distributable.
Updated by Luca Longone and Massimo Tantignone in January 2000.
Updated by Grzegorz Chmie and Thomas Richter in March 2000.
NOTE ABOUT THE 3.2 UPDATE
This new update fixes one frequent hit I got when SnoopDos logged some
system calls while a second task was working on the layers. The
problem is that some graphics.library and rtg calls NULL the Rastport->
Layer field temporarely, and SnoopDos did not check before using this
pointer.
Additionally, the SnoopDos iconfication code did not work with "newicons"
which store their image data in an unorthogonal way. This was fixed by
Grzegorz Chmie, I used his code almost unchanged. Thanks!
The file snoopdos.h has been enhanced to contain all exported functions
completely, to allow a clean recompile using the registerized parameters
model of SAS/C.
Two obsolete amiga.lib calls, CreateExtIO() and DeleteExtIO() have been
replaced by their exec.library equivalence for orthogonality.
All changes in the code have been marked by "THOR" so you may easely
identify my changes and additions.
You can find the archive with the executable compiled from this source
code on Aminet (util/moni/snoopdos32.lha).
For further questions, contact me at:
thor@math.tu-berlin.de (Thomas Richter)
NOTE ABOUT THE 3.1 UPDATE
This update removes an Enforcer hit which can happen with version 3.0
when a program is launched from ToolManager's dock and SnoopDos is
running with its "SendRexx" patch turned on. Said hit doesn't seem to
cause any harm, however it can be an annoyance for people which have
Enforcer running all the time.
The hit is apparently due to the way ToolManager sets up its message
port and only happens when SnoopDos 3.0 is running. Since we can't fix
ToolManager right now, we made SnoopDos able to avoid the hit, by adding
a safety check on the memory type at line 4466 in the "patches.c" module.
The following files have been updated for this release:
snooptext.h snooptext.ct snooptext.cd
SnoopDos.Roadmap snoopdos.c patches.c
All files other than "patches.c" have been changed just to update the
version information; no changes were made to the actual code.
You can find the archive with the executable compiled from this source
code on Aminet (util/moni/snoopdos31.lha).
Note: references to PGP in the documentation aren't valid anymore for
SnoopDos versions greater than 3.0. If you need authentication, please
write to one of the following e-mail addresses:
llong@tin.it, hexaae@tiscalinet.it (Luca Longone)
tanti@intercom.it (Massimo Tantignone)
ecarroll@iol.ie (Eddy Carroll)
The rest of this file is unchanged from the original Readme.source file
as found in the SnoopDos 3.0 source code distribution.
INTRODUCTION
SnoopDos patches a variety of AmigaDOS library functions that
are commonly called by other programs and allows you to monitor
the activities carried out by those programs.
The source code allows you to examine how SnoopDos operates. You
may find it useful as example code if you are interested in any
of the following:
- patching system library functions
- creating font-sensitive gadtools or BOOPSI GUI interfaces
without the help of a third party GUI library
- accessing AmigaGuide help
- copying text to the clipboard
- allowing localisation of all program text strings
- supporting drag & drop operations
- seeing how a medium sized Amiga application is constructed
I don't claim that this code is perfect but it does have the advantage
of actually working, so it's a useful starting point.
You will probably also want to obtain the companion binary archive
snoopdos30.lha, available in the /pub/aminet/util/moni directory on
AmiNet. This contains the SnoopDos executable, and also an extensive
AmigaGuide help file which should prove useful while browsing the
source code.
See the file SnoopDos.Roadmap inside the source directory for information
about how the source code is organised.
DISTRIBUTION CONDITIONS
You may freely use portions of the SnoopDos source code in your
own programs if you wish. However, if you use two or more complete
functions from the SnoopDos code, you must acknowledge the origin
of those functions in your documentation and source code.
You may modify the SnoopDos source code to create new versions of
SnoopDos for your own use only. You may not redistribute such new
versions without my explicit permission.
AUTHOR
You can contact the author at:
ecarroll@maths.tcd.ie
ecarroll@cix.compulink.co.uk
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
4970 2252 54.6% 05-Mar-00 23:39:34 Readme.source
45174 11785 73.9% 05-Mar-00 23:13:12 +buffer.c
2623 1094 58.2% 05-Mar-00 23:13:18 +gui.h
18349 4747 74.1% 05-Mar-00 23:13:12 +hotkey.c
3453 1303 62.2% 05-Mar-00 23:13:18 +icon.h
2612 1200 54.0% 05-Mar-00 23:13:12 +language.c
248758 53304 78.5% 05-Mar-00 23:13:12 +mainwin.c
2555 925 63.7% 05-Mar-00 23:14:38 +makefile
32871 11418 65.2% 05-Mar-00 23:13:12 +miscwin.c
5168 2163 58.1% 17-Sep-94 18:08:40 +patchcode.s
208083 45822 77.9% 05-Mar-00 23:13:12 +patches.c
3792 1144 69.8% 05-Mar-00 23:13:18 +patches.h
97 83 14.4% 05-Mar-00 23:28:06 +Project-Startup
312 189 39.4% 05-Mar-00 23:13:22 +scoptions
52242 17282 66.9% 05-Mar-00 23:13:12 +settings.c
21097 5015 76.2% 05-Mar-00 23:13:12 +snoopdos.c
63976 15608 75.6% 05-Mar-00 23:13:18 +snoopdos.h
21021 7900 62.4% 05-Mar-00 23:31:06 +SnoopDos.Roadmap
19179 6820 64.4% 12-Jan-00 19:28:54 +snooptext.cd
14162 5182 63.4% 12-Jan-00 19:47:24 +snooptext.ct
76408 15781 79.3% 05-Mar-00 23:13:18 +snooptext.h
184820 37682 79.6% 05-Mar-00 23:13:12 +subwin.c
280 192 31.4% 05-Mar-00 23:13:12 +system.c
1956 523 73.2% 05-Mar-00 23:13:18 +system.h
10709 3032 71.6% 05-Mar-00 23:13:12 +testcalls.c
-------- ------- ----- --------- --------
1044667 252446 75.8% 07-Mar-100 11:38:58 25 files